Port double-line underlines to GUI systems
authorPo Lu <luangruo@yahoo.com>
Thu, 1 Jan 1970 00:00:00 +0000 (00:00 +0000)
committerPo Lu <luangruo@yahoo.com>
Sun, 28 Apr 2024 03:58:22 +0000 (11:58 +0800)
commit77a170a175dfeb17dab23e41668b8497b8b3b9d7
tree91bfe9fde05be0246fae36ef9daa6a755bcef500
parent4992df159157806bcbad87569f34dc5136c96601
Port double-line underlines to GUI systems

* src/xterm.c (x_get_scale_factor): Replace display in first
argument with a pointer to dpyinfo.
(x_draw_underwave): Adjust to match.
(x_draw_glyph_string): Implement double-line underlines.

* src/androidterm.c (android_get_scale_factor)
(android_draw_glyph_string):

* src/haikuterm.c (haiku_draw_text_decoration):

* src/nsterm.m (ns_draw_text_decoration):

* src/pgtkterm.c (pgtk_draw_glyph_string):

* src/w32term.c (w32_draw_glyph_string): Synchronize with X.

* src/xfaces.c (realize_gui_face): Enable `double-line' on
window systems.
src/androidterm.c
src/haikuterm.c
src/nsterm.m
src/pgtkterm.c
src/w32term.c
src/xfaces.c
src/xterm.c